﻿using YNTK.Common.Const;
using SqlSugar;
using System;

namespace YNTK.SubDev.Entitys
{
    /// <summary>
    /// 报价信息
    /// </summary>
    [SugarTable("zy_oa_price")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ZyOaPriceEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
        public string Id { get; set; }
        
        /// <summary>
        /// 报价编号
        /// </summary>
        [SugarColumn(ColumnName = "F_EnCode")]        
        public string EnCode { get; set; }
        
        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(ColumnName = "F_Project")]        
        public string Project { get; set; }
        
        /// <summary>
        /// 客户名称
        /// </summary>
        [SugarColumn(ColumnName = "F_Customer")]        
        public string Customer { get; set; }
        
        /// <summary>
        /// 报价时间
        /// </summary>
        [SugarColumn(ColumnName = "F_PriceTime")]        
        public DateTime? PriceTime { get; set; }
        
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "F_SortCode")]        
        public long SortCode { get; set; }
        
        /// <summary>
        /// 有效标志
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark")]        
        public int? EnabledMark { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime")]        
        public DateTime? CreatorTime { get; set; }
        
        /// <summary>
        /// 创建用户
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorUserId")]        
        public string CreatorUserId { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyTime")]        
        public DateTime? LastModifyTime { get; set; }
        
        /// <summary>
        /// 修改用户
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyUserId")]        
        public string LastModifyUserId { get; set; }
        
        /// <summary>
        /// 报价状态（1-正在进行，2-暂停）
        /// </summary>
        [SugarColumn(ColumnName = "F_State")]        
        public string State { get; set; }
        
        /// <summary>
        /// 最后状态
        /// </summary>
        [SugarColumn(ColumnName = "F_LastTrackState")]        
        public int? LastTrackState { get; set; }
        
        /// <summary>
        /// 说明
        /// </summary>
        [SugarColumn(ColumnName = "F_Remark")]        
        public string Remark { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnName = "Appendix")]        
        public string Appendix { get; set; }
        
        /// <summary>
        /// 批注列表Json
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilJson")]        
        public string PostilJson { get; set; }
        
        /// <summary>
        /// 批注总数
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilCount")]        
        public int? PostilCount { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare1")]        
        public string Spare1 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare2")]        
        public string Spare2 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare3")]        
        public string Spare3 { get; set; }
        
    }
}
